package com.clock.common.enums.shop;

/**
 * 优惠券类型枚举类
 * @author CYJ
 */

public enum CouponType {
    // 0:折扣优惠券 1:满减优惠券 2:会员优惠券
    DISCOUNT("0","折扣优惠"),SPENDINGENOUGH("1","满减优惠"),MEMBERDISCOUNT("2","会员优惠");

    private final String code;
    private final String info;

    CouponType(String code, String info) {
        this.code = code;
        this.info = info;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }
}
